package com.multiple.sources.core.bean;

import java.io.Serializable;

/**
 * @author
 */
public class TenantDataSource implements Serializable {
	private Long id;

	private Long tenantId;

	/**
	 * 1 mysql 2 oracle
	 */
	private Integer type;

	/**
	 * 数据源类型
	 */
	private String dataSourceType;

	/**
	 * url 连接
	 */
	private String dataSourceUrl;

	/**
	 * 用户名
	 */
	private String dataSourceUsername;

	/**
	 * 密码
	 */
	private String dataSourcePassword;

	/**
	 * 驱动
	 */
	private String dataSourceDriverClassName;

	private static final long serialVersionUID = 1L;

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getDataSourceType() {
		return dataSourceType;
	}

	public void setDataSourceType(String dataSourceType) {
		this.dataSourceType = dataSourceType;
	}

	public String getDataSourceUrl() {
		return dataSourceUrl;
	}

	public void setDataSourceUrl(String dataSourceUrl) {
		this.dataSourceUrl = dataSourceUrl;
	}

	public String getDataSourceUsername() {
		return dataSourceUsername;
	}

	public void setDataSourceUsername(String dataSourceUsername) {
		this.dataSourceUsername = dataSourceUsername;
	}

	public String getDataSourcePassword() {
		return dataSourcePassword;
	}

	public void setDataSourcePassword(String dataSourcePassword) {
		this.dataSourcePassword = dataSourcePassword;
	}

	public String getDataSourceDriverClassName() {
		return dataSourceDriverClassName;
	}

	public void setDataSourceDriverClassName(String dataSourceDriverClassName) {
		this.dataSourceDriverClassName = dataSourceDriverClassName;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
}